package com.masterclient.app.base;

import android.content.Context;
import com.eoner.common.config.Config;

/**
 * 作者：sean
 * 创建时间：2018/3/13 15:26
 * 功能说明：
 */

public class FrozenDialog{

    public static void showFrozen(Context context){
        ConfirmDialog confirmDialog = new ConfirmDialog(context, Config.FROZEN_TITLE,"取消","确定");
        confirmDialog.show();
        confirmDialog.setOneButton();
        confirmDialog.setOnChooseListerner(new ConfirmDialog.OnChooseListerner() {
            @Override
            public void cancel() {

            }

            @Override
            public void confirm() {
                confirmDialog.dismiss();
            }
        });
    }
}
